package com.itheima.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/*
 *
     学科
 */
@Data
@TableName(value = "hm_subjects")
public class Subjects implements Serializable {

    //编号
    private Integer id;
    //学科
    @TableField(value = "subjectName")
    private String subjectName;
    //创建者
    @TableField(value = "creatorID")
    private Integer creatorID;
    //创建日期
    @TableField(value = "addDate")
    private LocalDateTime addDate;
    //前台是否显示
    @TableField(value = "isFrontDisplay")
    private Integer isFrontDisplay;
    //标签
    private Integer tags;
    //题目数量
    private Integer totals;
    //二级目录数
    @TableField(value = "twoLevelDirectory")
    private Integer twoLevelDirectory;
}
